<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.ougy.reshop.model.Region"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String cityName="杭州";
Region city=(Region)request.getAttribute("city");
if(city!=null){
	cityName=city.getName();
}

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<script type="text/javascript">
var SPEED_RENDER_BEGIN = new Date().getTime();
</script>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>二手物品发布</title>

		<script
			src="http://sta.ganjistatic1.com/public/js/util/ganji/ganji.__1363937086__.js"
			type="text/javascript"></script>
		<script type="text/javascript" src="../js/util/jquery-1.7.1.min.js"></script>
		<script type="text/javascript" src="../addon/boxy/jquery.boxy.js"></script>

		<link href="../addon/boxy/boxy.css" rel="stylesheet" type="text/css" />
		<link href="../css/pub.css" rel="stylesheet" type="text/css" />
		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>css/choose_goods_class.css" />
		<script type="text/javascript"
			src="<%=basePath%>js/util/jquery-1.7.1.min.js"></script>
		<script type="text/javascript"
			src="<%=basePath%>js/choose_goods_class.js"></script>
		<script type="text/javascript">
            $(function(){
                $("#secondmarkt_more_category").bind("click",function(){
                    Boxy.load("<%=basePath%>/minpager/chooseGoodsClass.jsp",{
                        title:"更多分类",
                        unloadOnHide:true
                    });
                });
            });


        </script>
	</head>

	<body>

		<jsp:include page="../include/head1.jsp" flush="true">
			<jsp:param name="cityName" value="<%=cityName %>" />
		</jsp:include>

		<div id="wrapper" class="pub">
			<div class="process">
				<ul>
					<li class="onestep">
						<span class="l-bg"></span>
						<span class="r-bg"></span>
						<span class="xh">1</span>二手物品 (
						<a class="f12" href="/pub/pub_select.php">重选</a>)
					</li>
					<li class="threestep active">
						<span class="l-bg"></span>
						<span class="r-bg"></span>
						<span class="xh">2</span>填写详情
					</li>
				</ul>
			</div>


			<p class="toptip">
			</p>

			<div class="input-panel">
				<form enctype="multipart/form-data" id="id_post_form" method="post"
					action="publish">
					<table cellspacing="0" cellpadding="0" border="0" width="980px;">
						<tr id="id_tr_deal_type">
							<td width="1%">
								<i> * </i>
							</td>
							<td width="11%">
								供需
							</td>
							<td class="space">
								<label for="id_deal_type_0">
									<input id="id_deal_type_0" name="type" type="radio" value="1"
										checked autocomplete="off">
									<span>转让</span>
								</label>
								<label for="id_deal_type_1">
									<input id="id_deal_type_1" name="type" type="radio" value="2"
										autocomplete="off">
									<span>求购</span>
								</label>
								



								<span id="tip_span_deal_type"></span>
							</td>
						</tr>
						<tr id='id_tr_title'>
							<td>
								<i> * </i>
							</td>
							<td>
								标题
							</td>
							<td>
								<label for="textfield"></label>
								<input value="" name="title" type="text" id="id_title" size="45"
									maxlength="30" class="input1" />
								<span id="tip_span_title"></span>
							</td>
						</tr>
						<tr id="id_tr_my_res" style="display: none;">
							<td>
								<i> * </i>
							</td>
							<td>
								我有
							</td>
							<td>
								<input value="" name="my_res" type="text" id="id_my_res"
									class="input1" maxlength="20" size="45" />

								<span id="tip_span_my_res"></span>
							</td>
						</tr>
						<tr id="id_tr_yours_res" style="display: none;">
							<td>
								<i> * </i>
							</td>
							<td>
								想换
							</td>
							<td>
								<input value="" name="yours_res" type="text" class="input1"
									maxlength="8" size="20" />
								<span id="tip_span_yours_res"></span>
							</td>
						</tr>

						<tr id="id_tr_price">
							<td>
								<i> * </i>
							</td>
							<td>
								价格
							</td>
							<td>
								<input value="" name="price" type="text" id="id_price" size="4"
									maxlength="6" class="input2 js-price-listen" />
								&nbsp;元
								<span id="tip_span_price"></span>
							</td>
						</tr>

						<tr>
							<td valign="top">
								<i> * </i>
							</td>
							<td valign="top">
								描述
							</td>
							<td>
								<table cellspacing="0" cellpadding="0" border="0" class="normal">
									<tr>
										<td>
											<textarea name="descContent" type="textarea"
												id="id_description" class="textarea1" rows="6"></textarea>
										</td>
										<td>
											<span id="tip_span_description"></span>
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr id="id_tr_minor_category">
							<td>
								<i> * </i>
							</td>
							<td valign="top">
								<span id='title_minor_category'>您转让的是</span>
							</td>
							<td id="id_minor_goodsclass" class="space">
								<span id="id_minor_goodsclass_r" class="space"> <label>
										<input type="radio" name="minorGoodsclass" size="12"
											maxlength="30" value="2" id="mc_jiadian" tagType="d">
										家用电器
									</label> <label>
										<input type="radio" name="minorGoodsclass" size="12"
											maxlength="30" value="1" id="mc_jiaju" tagType="d">
										家具
									</label> <label>
										<input type="radio" name="minorGoodsclass" size="12"
											maxlength="30" value="747" id="mc_ershoushouji" tagType="d">
										手机
									</label> <label>
										<input type="radio" name="minorGoodsclass" size="12"
											maxlength="30" value="760" id="mc_bijibendiannao" tagType="d">
										笔记本电脑
									</label> </span>
								<input name="recognized_by" type="hidden" value="unknown"
									id="id_recognized_by">
								<input name="其他分类" type="button" style='display: none;'
									id="other_cate" value="其他分类">
								<span id="tip_span_minor_category"></span>
							</td>
						</tr>
						<tr id="id_tr_minor_category_more">
							<td>
								&nbsp;
							</td>
							<td>
								&nbsp;
							</td>
							<td>
								<div id=''
									style="border-bottom: 1px solid #ccc; font-size: 13px; padding: 3px 0; margin-bottom: 10px; width: 430px">
									<span id='span_minor_category_notice1'> 都不是？您也可以选择 <a
										style="color: #24d" href="javascript:void(0)"
										id='secondmarkt_more_category' title="更多分类">更多分类»</a> </span>
									<span id='span_minor_category_notice2' style='display: none;'>
										您已经选择了3个分类，最多选择3个哦~ </span>
								</div>
							</td>
						</tr>
						<tr>
							<td valign="top">
								&nbsp;
							</td>
							<td valign="top">
								上传照片
							</td>
							<td style="width: 660px;">
								<input type="file" name="upload" />
								<br>
								<input type="file" name="upload" />
								<br>
								<input type="file" name="upload" />
								<br>
								<input type="file" name="upload" />
								<br>
								<input type="file" name="upload" />
								<br>
								<input type="file" name="upload" />
								<br>
								<input type="file" name="upload" />
								<br>
								<div class="ui-uploader" id="uploader_container">
									<div class="ui-uploader-action">
										<div class="ui-uploader-iframe-container"></div>
										<a href="###" class='ui-uploader-cloud-photo-btn' data-puid="">&nbsp;</a>
										<span id="tip_span_input_upload_image"></span>
									</div>
									<span class="ui-uploader-message" style="margin-left: 0"></span>
									<ul class="ui-uploader-thumbImages"></ul>
								</div>
								<input id="input_upload_image" type="hidden" name="images" />
							</td>
						</tr>
						<tr id='id_tr_district'>
							<td width="2%">
								<i> * </i>
							</td>
							<td width="10%">
								地点
							</td>
							<td width="88%">
								<span> <select name="threeLevel" type="select"
										id="id_district">
										<option value="">
											请选择
										</option>
										<%	if(city!=null){
												List<Region> threeLevel=city.getChildren();
												for(Region r:threeLevel){
										 %>
										<option value="<%=r.getId() %>">
											<%=r.getName() %>
										</option>
										<%		}
											}
										 %>
									</select> <select name="street" type="select" id="id_street">
										<option value="">
											请选择
										</option>
									</select> </span>
								<span id="tip_span_district"></span>
							</td>
						</tr>
						<tr style="display: none;" id="id_tr_tag">
							<td>
								&nbsp;
							</td>
							<td>
								标签
							</td>
							<td id="id_taglab" style="width: 630px;"></td>
							<input type="hidden" name="old_tag" value="" id="id_old_tag" />
						</tr>


						<tr>
							<td>
								<i> * </i>
							</td>
							<td>
								联系电话
							</td>
							<td width="88%">
								<input value="" name="telPhone" type="text" id="id_phone"
									size="20" class="input1" maxlength="30" />
								<span class="tips_wrap"><span id="tip_span_phone"></span>
								</span>
							</td>
						</tr>
						<tr>
							<td>
								&nbsp;
							</td>
							<td>
								QQ号
							</td>
							<td width="88%">
								<input value="" name="qq" type="text" size="20" class="input1"
									maxlength="30" />
								<span class="tips_wrap"><span id="tip_span_im"></span> </span>
							</td>
						</tr>


						<tr>
							<td>
								<i> * </i>
							</td>
							<td>
								联系人
							</td>
							<td>
								<input value="" name="linkmanName" type="text" size="20"
									class="input1" maxlength="6" />
								<span id="tip_span_person"></span>
							</td>
						</tr>
						<tr>
							<td valign="top">
								<i>*</i>
							</td>
							<td valign="top">
								发布人
							</td>
							<td valign="top" id="id_agent">
								<label for="id_agent_0">
									<input id="id_agent_0" name="agent" type="radio" value="0"
										checked>
									个人
								</label>
								<label for="id_agent_1">
									<input id="id_agent_1" name="agent" type="radio" value="1">
									商家
								</label>
								<span id="tip_span_agent"></span>
								<p style="display: none; font-size: 12px;">
									您的信息将会被发布至商家列表中。
								</p>
							</td>
						</tr>

						<tr id=showcode style="display: none;">
							<td>
								<i> * </i>
							</td>
							<td>
								验证码
							</td>
							<td>
								<input class="input2" name="checkcode" value=""
									id=checkcode_input maxlength="4" />
								<img id="img_checkcode"
									src="/common/checkcode.php?nocache=1365076665"
									align="absmiddle" />
								<span id="tip_span_checkcode"></span>
								<script>
                        function resetCheckcode(){
                     var img = document.getElementById('img_checkcode');
                     if (img!=null) {
                     img.src = '/common/checkcode.php?nocache=' + (new Date() * 1);
                     }
                     var ccode = document.getElementById('checkcode_input');
                     ccode.value = '';
                     ccode.focus();
                     return false;
                     }
                        </script>
								<a href="#" onClick="resetCheckcode();return false;">看不清？换个验证码</a>
							</td>
						</tr>




						<script type="text/javascript">
</script>

						<style type="text/css">
.to-top-div {
	line-height: 16px;
	width: 600px;
}

.to-top-item-line {
	border-bottom: 1px dotted #999;
	height: 10px;
	margin-bottom: 10px;
}

.to-top-div-title {
	font-size: 14px;
	cursor: pointer;
}

.to-top-div-hide {
	display: none;
}
</style>


						<tr class="self_service_area" style="display: none">
							<td colspan="3">
								<div class="dot_line"></div>
								<input type="hidden" id="sticky" name="sticky" value="0" />
							</td>
						</tr>
						<tr class="self_service_area" style="display: none">
							<td valign="top"></td>
							<td valign="top" style="padding-top: 5px;">
								付费推广
							</td>

							<td>
								<div class="to-top-div" style="margin-top: 0;">

									<div class="to-top-item" style="margin-top: 0;">
										<p>
											<input name="self_service" type="checkbox"
												value="self_sticky" size="14" maxlength="30"
												id="self_sticky" />
											<strong class="to-top-div-title">置顶/高级置顶（将本帖置顶到列表页顶部，<em
												class="f-c-red">快速获得</em>推广效果 <span
												class="sticky_price_area"><em class="f-c-red"><span
														class="sticky_price"></span>元/天起</em> </span>）</strong>
										</p>

										<p class="pl28" style="padding-top: 5px;">
											&#8226;&nbsp;排名提前，置顶在页面的前面，效果立即提升
											<em class="f-c-red beishu"></em>倍以上&nbsp;&nbsp;&nbsp;&nbsp;
											<a href="#" class="top_select_click">更多...</a>
										</p>
										<p class="pl28" style="padding-top: 5px;">
											&#8226;&nbsp;本类别普通信息每日点击约
											<em class="f-c-red post_click"></em>次，置顶后预计约
											<em class="f-c-red sticky_click"></em>次
										</p>
										<p class="pl28 sticky_price_area" style="padding-top: 5px;">
											&#8226;&nbsp;最低
											<em class="f-c-red sticky_price"></em>元/天，最适合单条信息的短期推广
										</p>
									</div>


									<div class="to-top-item" id="js_self_direction_tips">
										<p>
											<input name="self_service" type="checkbox"
												value="self_direction" size="14" maxlength="30"
												id="self_direction" />
											<strong class="to-top-div-title">定向推广（<em
												class="f-c-red direction_price"></em><span class="f-c-red">元/点击</span>）<span
												style="color: orange;">最新推出...</span><a
												class="direction_tuiguang"
												href="http://www.ganji.com/tuiguang/fang/dingxiang/"
												gjalog="/direction_xiaoguozhongxin@pos=post_pub@atype=click"
												target="_blank" style="font-size: 13px; float: right;">什么是定向推广？</a>
											</strong>
										</p>
										<p class="pl28" style="padding-top: 5px;">
											&#8226;&nbsp;位置更醒目，在列表右侧区域，展示位置更多&nbsp;&nbsp;&nbsp;&nbsp;
											<a href="#" class="top_select_click">更多...</a>
										</p>
										<p class="pl28" style="padding-top: 5px;">
											&#8226;&nbsp;内容更全面，同时展示标题和内容，更富有吸引力
										</p>
										<p class="pl28" style="padding-top: 5px;">
											&#8226;&nbsp;曝光率高，选择想投放的类别，精准投放
										</p>
									</div>


								</div>
							</td>
						</tr>

						<script type="text/javascript">
function topDescMoreHide(el) {
    $(el).find('.pl28').each(function(index) {
        if (index > 0) {
            $(this).hide();
        }
    });
}

function topDescMoreShow(el) {
    $(el).find('.pl28').show();
}

function sendSelfServiceLogTrack(btnType) {
    try {
        var $selectedEl = $('#self_sticky, #self_premier, #self_direction,#self_subSticky').filter(':checked');
        var gjalog 	= '';
        var elId	= '';
        var source	= '';
        
        if ($selectedEl.size() > 0) {
            elId    = $selectedEl.attr('id');
            source	= elId;
            
            if (btnType) {
    			source	= source + '_' + btnType;
            }
    
            source	= source + '_pub_tips';
        }
        else {
            elId	= 'self_service';
    		source	= elId + '_pub_success';
        }
    
        gjalog  = '/' + elId + '/trace@source=' + source + '@city_id=76@category_id=14@puid=-@atype=click';
        if(!gjalog) {
            return false;
        }
    
        GJ.LogTracker.trackEvent(gjalog); //主动发起请求
	} catch (e) {}
}

GJ.use('jquery', function() {$(function() {
    var categoryId = 14;
    if (categoryId == 7) {
        try {$("#js_self_direction_tips").insertBefore($("#self_premier_fang"));} catch (ex){}
    }
    $('#newsubmiting').hide();
    var sticky_btn = '&nbsp;&nbsp;<input style="display:none" type="submit" value="立即置顶发布&nbsp;&gt;&gt;"  class="btn-style1" id="sticky_submiting_btn" />';
    $('.btn-style2').after(sticky_btn);



    var priceParams = {
        cate    : '14',
        m       : '',
        city    : '76'
    };

    function callback_with_extraParam(ret,extraParam) {
        if (typeof ret.sticky == 'object' && (ret.sticky['sticky_price'] > 0 || ret.sticky['sticky_price'] == -1 || extraParam==14)) {

            if (ret.sticky['sticky_price'] <= 0) {
                $('.self_service_area').find('.sticky_price_area').remove();
            }

            $.each(ret, function(serviceName, serviceInfo) {
                $.each(serviceInfo, function(serviceKey, serviceValue) {
                    $('.self_service_area').find('.' + serviceKey ).html(serviceValue);
                });
            });
            if(ret.direction.price) {
                var $o = $('#js_self_direction_tips');
                $o.find('.direction_price').html(ret.direction.price);
                $o.find('.direction_tuiguang').attr('href', ret.direction.promotion);
            }else {
                $('#js_self_direction_tips').hide();
            }

            if(ret.subSticky.subSticky_price) {
                var $o = $('#js_self_subSticky_tips');
                $o.find('.subSticky_price').html(ret.subSticky.subSticky_price);
            }else {
                $('#js_self_subSticky_tips').hide();
            }

            $('.to-top-item').each(function(index) {
                if (index > 0) {
                    $(this).prepend('<div class="to-top-item-line"></div>');
                }
                topDescMoreHide(this);
            });
            $('#sticky_submiting_btn').show();
            $('.self_service_area').show();
        }
    }



    $('#sticky_submiting_btn').click(function(){
        if($('#self_sticky, #self_premier, #self_direction, #self_subSticky').filter(':checked').size()==0){
            if($('#self_sticky').size()){
                $('#self_sticky').attr('checked', true);
            } else {
                $('#self_premier').attr('checked', true);
            }
        }

        sendSelfServiceLogTrack('tg');

            });

    $('.btn-style2').click(function() {
        sendSelfServiceLogTrack();
    });


    $('input[name=self_service],.to-top-div-title').click(function() {
        var clickArea   = $(this).parents('.to-top-item');
        var checked     = clickArea.find('input[name=self_service]').attr('checked');
        if (typeof $(this).attr('name') == 'undefined') {
            if (!checked) {
                checked = true;
            } else {
                checked = false;
            }
        }
  
        $(this).parents('td').find('input[name=self_service]').attr('checked', false);

        $('.to-top-item').each(function(index) {
            $(this).find('.top_select_click:first').show();
            topDescMoreHide(this);
        });

        if (checked) {
            clickArea.find('input[name=self_service]').attr('checked', true);
            topDescMoreShow($(this).parents('.to-top-item')[0]);
            clickArea.find('.top_select_click').hide();
        }
    });

    $('.top_select_click').click(function() {
        topDescMoreShow($(this).parents('.to-top-item')[0]);
        $(this).parents('.to-top-item').find('.top_select_click').hide();
        return false;
    });

    });});
</script>



						<tr>
							<td>
								&nbsp;
							</td>
							<td></td>
							<td id="submiting">
								<input type='hidden' value='' name='yanbao_type'>
								<input id="pub_submit" type="submit" class="btn-style2"
									value="立即发布&gt;&gt;" gjalog='/pub_submit@atype=click' />
							</td>


						</tr>

					</table>
				</form>
			</div>
		</div>

		<script type="text/javascript">

</script>
		<script type="text/javascript">
if (GJ.isUndefined(SPEED_RENDER_END)) {
    var SPEED_RENDER_END = new Date().getTime();
}
GJ.use('app/ms/common/top_nav.js', function () {
    GJ.app.ms.common.topNav({
    $el: $('.top-nav')
    });
});
GJ.use('secondmarket_pub_v2', function() {
    GJ.app.ms.secondmarket.pub({
        cityInfo : {"type":"2","id":"76","city_code":1001,"standard_code":"350200","script_index":"1","parent_id":"11","name":"\u53a6\u95e8","domain":"xm","database":"xiamen"}        ,categoryInfo : {"type":"1","id":"14","script_index":"1","url":"wu","name":"\u4e8c\u624b\u7269\u54c1","source_name":"secondmarket"}        ,majorCategoryInfo : {}        ,minorCategoryInfo : {
            id : 0        }
        ,isEdit : false        ,isBackEdit :  false        ,isShowCheckCode : false        ,isShowCategory: true        ,isBangPub : false        ,uploadInfo : {
            upoadedImages :  []        }
        ,streetWithText : true
        ,validatorInit : function() {
            GJ.validator("title")
.setTipSpanId("tip_span_title")
.setFocusMsg("6-30字，简单说说要卖什么，标题中不能出现电话号码哦")
.setRequired("忘记填写标题了哦")
.setStrlenType("symbol")
.setMinLength(6, "标题不能少于6个字，可以说说型号，几成新哦")
.setMaxLength(30, "标题不能超过30个字~更多内容可以在描述里再说哦")
.setRegexp(/※|◆|▌|▎|▏|▓|▔|▕|■|□|▲|△|▼|▽|◆|◇|○|☉|☆|★|◥|◤|◣|◢|●|◎|♀|♂|〓|㊣|℅|【|】|▇|▇██|▇▇▇██▇▇▇▇█|▇▇▇▇|██▇|██|▄▄|▄|▁|▃▂|█|▂/, "标题不能出现特殊字符哦", true);

GJ.validator("district")
.setTipSpanId("tip_span_district")
.setRequired("没有选择城区呀，买家会容易迷路哦~");

GJ.validator("street")
.setTipSpanId("tip_span_district");

GJ.validator("type")
.setTipSpanId("tip_span_deal_type")
.setRequired("忘记选择供需啦");

GJ.validator("minor_category[]")
.setTipSpanId("tip_span_minor_category")
.setRequired("忘记选择分类啦~分类会帮助买家找到您的信息哦~");

GJ.validator("price")
.setTipSpanId("tip_span_price")
.setRequired("忘记填写价格啦")
.setRegexp(/^[1-9]\d*$/, "价格只能是正整数哦~", false)
.setCompareValue("!=", "0", "价格不能为“0”")
.setStrlenType("symbol")
.setLength(1, 6, "价格不能大于6位数");

GJ.validator("descContent")
.setTipSpanId("tip_span_description")
.setFocusMsg("10-2000字，介绍一下具体情况<br/>&nbsp;&nbsp;&nbsp;&nbsp;例如：什么时候买的，什么牌子，交易地点，内容中不能出现电话号码哦")
.setRequired("忘记填写描述啦！可以说说有没有毛病，用了多久哦~")
.setStrlenType("symbol")
.setMinLength(10, "描述不能少于10个字，可以说说使用情况，用了多久哦~")
.setMaxLength(2000, "描述不能超过2000字哦~")
.setRegexp(/※|◆|▌|▎|▏|▓|▔|▕|■|□|▲|△|▼|▽|◆|◇|○|☉|☆|★|◥|◤|◣|◢|●|◎|♀|♂|〓|㊣|℅|【|】|▇|▇██|▇▇▇██▇▇▇▇█|▇▇▇▇|██▇|██|▄▄|▄|▁|▃▂|█|▂/, "描述不能出现特殊字符哦~", true);

GJ.validator("telPhone")
.setTipSpanId("tip_span_phone")
.setRequired("忘记填写联系方式了吗？买家会找不到哦~")
.setRegexp(/^1[3458]\d{9}$|^(0\d{2,4}-)?[2-9]\d{6,7}(-\d{2,5})?$|^(?!\d+(-\d+){3,})[48]00(-?\d){7,10}$/, "这个电话好怪，我们只认得这样的格式哦：87654321-001或400-1234-5678或138********", false);

GJ.validator("qq")
.setTipSpanId("tip_span_im")
.setFocusMsg("<span class=tips>防欺诈提示：近期发现有不法分子冒充赶集网通过QQ邮件和QQ消息诱骗用户打开非法链接，请您提高警惕！</span>")
.setRegexp(/^[1-9]{1,1}[0-9]{4,9}$/, "QQ号码格式错误", false);

GJ.validator("linkmanName")
.setTipSpanId("tip_span_person")
.setRequired("忘记填写联系人啦")
.setStrlenType("symbol")
.setMinLength(2, "要是2-6个汉字或字母才行哦~")
.setMaxLength(6, "要是2-6个汉字或字母才行哦~")
.setRegexp(/^[\u4E00-\u9FA5\uF900-\uFA2Da-zA-Z]+$/, "要是2-6个汉字或字母才行哦~", false);

GJ.validator("my_res")
.setTipSpanId("tip_span_my_res")
.setFocusMsg("6-20字，简单说说我有什么")
.setRequired("忘记填写有什么东西啦")
.setStrlenType("symbol")
.setMinLength(6, "标题不足6个字哦")
.setMaxLength(30, "标题多于30个字啦")
.setRegexp(/※|◆|▌|▎|▏|▓|▔|▕|■|□|▲|△|▼|▽|◆|◇|○|☉|☆|★|◥|◤|◣|◢|●|◎|♀|♂|〓|㊣|℅|【|】|▇|▇██|▇▇▇██▇▇▇▇█|▇▇▇▇|██▇|██|▄▄|▄|▁|▃▂|█|▂/, "标题不能出现特殊字符哦", true);

GJ.validator("yours_res")
.setTipSpanId("tip_span_yours_res")
.setFocusMsg("请填写想换物品的名称,最多8个字")
.setRequired("忘记填写想换物品啦")
.setStrlenType("symbol")
.setMaxLength(8, "最多8个字");

GJ.validator("agent")
.setTipSpanId("tip_span_agent");

        }
        ,logTrackerInfo : {
            gjch     : "/pub/detail_fill/wu/"
            ,gjchver : 'A'
        }
        ,stickyInfo : {                      // 置顶相关
            enabled      : window.page_config_sticky_enabled || false   // 是否显示置顶按钮
            ,bangWebsite : window.page_config_sticky_bang_website || '' // 帮帮站点信息
        }
        ,deal_type : 1        ,supplementInfo : {"user_id":182415788,"bb_sex":null,"birthday_year":null,"birthday_month":null}    });
});
</script>
		<ul id="footer">
			li>
			<a href="http://www.ganji.com/misc/abouts/index.php?act=about"
				rel="nofollow" target="_blank">关于Ganji</a> -
			<a href="http://www.ganji.com/tuiguang/index/" rel="nofollow"
				target="_blank">赶集推广</a> -
			<a href="http://tuiguang.ganji.com/zhaoshang/agent.htm"
				rel="nofollow" target="_blank"> 渠道合作 </a> -
			<a href="http://help.ganji.com/" rel="nofollow" target="_blank">帮助中心</a>
			-
			<a style="color: #C00;" href="http://help.ganji.com/html/sjbmy/"
				rel="nofollow" target="_blank">手机号被冒用</a> -
			<a href="http://www.ganji.com/misc/abouts/link.php?act=link"
				rel="nofollow" target="_blank">友情链接</a> -
			<a target="_blank" rel="nofollow"
				href="http://www.ganji.com/misc/abouts/index.php?act=job">招贤纳士</a> -
			<a target="_blank" href="/quxiandaohang/">区县导航</a> -
			<a target="_blank" rel="nofollow"
				href="http://mobile.ganji.com/?ca_name=mobile_other_bottom">手机赶集</a>
			</li>
		</ul>
	</body>
</html>
<s:debug></s:debug>
